﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<string>>" %>
<div class="photo_show">
<% foreach (var item in Model) %>
<% { %>
<img src='<%=item %>' alt="" />
<% } %>
</div>
<script src='<%=Url.Content("~/Scripts/jquery.fn.imgplayer.js") %>' type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function () {
        var player = {
            width: '1003px',
            height: '250px',
            time: '5000',
            transition: 1,
            duration: 900
        };
        $(".photo_show").playImgs(player).start();
    });
</script>
<style type="text/css">
.photo_show
{
    overflow:hidden;
    width:100%;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    display:none;
}
.photo_show li
{
    line-height:12px;
    margin-bottom:2px;
    margin-right:2px;
}
</style>